//
//  HomeSlideHeader.h
//  LvXi_newVersion
//
//  Created by 王敏 on 16/8/10.
//  Copyright © 2016年 SJT. All rights reserved.
//

#import <UIKit/UIKit.h>


@class HomeSlideHeader;


@protocol HomeSlideHeaderDelegate <NSObject>
@optional

-(void)HomeSlideHeader:(HomeSlideHeader*)header DidClickUserIcon:(UIImageView*)user_icon;

-(void)HomeSlideHeader:(HomeSlideHeader*)header DidClickShare:(UIButton*)share;

-(void)HomeSlideHeader:(HomeSlideHeader*)header DidClickUserName:(UILabel*)user_name;

@end
@interface HomeSlideHeader : UIView
/**用户头像*/
@property(nonatomic,strong)UIImageView * user_icon;

/**用户名*/
@property(nonatomic,strong)UILabel * user_name;

/**推广*/
@property(nonatomic,strong)UIButton * share;

/**代理指针*/
@property(nonatomic,assign)id<HomeSlideHeaderDelegate>delegate;

-(void)upDate;
@end
